package groups.diseases.dao;

import java.sql.Connection;

import groups.common.dao.JDBCGenericDAO;
import groups.common.dao.SQLTable;
import groups.diseases.DiseaseCausesSymptom;

public class JDBCDiseaseCausesSymptomDAO extends JDBCGenericDAO<DiseaseCausesSymptom>{
	
	public JDBCDiseaseCausesSymptomDAO(Connection connection) throws SecurityException, NoSuchMethodException{
		table = new SQLTable(DiseaseCausesSymptom.class,"DiseaseCausesSymptom",connection);
		table.addColumnMethod("causerIdDisease", "getDiseaseId" , false, true);
		table.addColumnMethod("causedIdHumanSymptom", "getHumanSymptomId", false, true);
		table.addColumnMethod("period", "getPeriod", false, true);
		table.addColumnMethod("inter", "getInterval", false, false);

	}
	
	public static void main(String[] args){

	}
}
